import Burst from '@/pages/vulnerable/burst';
import Csrf from '@/pages/vulnerable/csrf';
import File from '@/pages/vulnerable/file';
import Rce from '@/pages/vulnerable/rce';
import Scene from '@/pages/vulnerable/scene';
import SqlInjection from '@/pages/vulnerable/sqli';
import Xss from '@/pages/vulnerable/xss';

import { MetaRouteObject } from './type';

const vulnerable: MetaRouteObject[] = [
  {
    path: '/xss/:level',
    element: <Xss />,
  },
  {
    path: '/rce/:level',
    element: <Rce />,
  },
  {
    path: '/sqli/:level',
    element: <SqlInjection />,
  },
  {
    path: '/csrf/:level',
    element: <Csrf />,
  },
  {
    path: '/file/:level',
    element: <File />,
  },
  {
    path: '/burst/:level',
    element: <Burst />,
  },
  {
    path: '/scene',
    element: <Scene />,
  },
];

export default vulnerable;
